//
//  ST_UserInfo.h
//  ST_BaseMall
//
//  Created by 昱胜 on 2022/9/2.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface ST_UserAdvertListItem : NSObject<NSCoding>
/** */
@property (nonatomic, copy)NSString * desc_text;
/** */
@property (nonatomic , assign) NSInteger             complete_count;
/** */
@property (nonatomic, copy)NSString * button_text;
/** */
@property (nonatomic, copy)NSString * key;
/** */
@property (nonatomic , assign) NSInteger             daily_count;
/** */
@property (nonatomic, copy)NSString * name;
/** */
@property (nonatomic, copy)NSString * icon;

@end

@interface ST_UserInfo : NSObject<NSCoding>

@property (nonatomic , copy) NSString              * uid;
@property (nonatomic , copy) NSString              * phone;
@property (nonatomic , copy) NSString              * nickname;
@property (nonatomic , copy) NSString              * avatar_url;
@property (nonatomic , copy) NSString              * invite_code;
//支付密码状态 0:未设置 1:已设置
@property (nonatomic , assign) NSInteger             pay_password_status;
//实名认证完成状态 -1:未认证 0:待认证 1:已通过 2:未通过 3:待支付
@property (nonatomic , assign) NSInteger             certify_status;
//是否有效 0:无效 1:有效
@property (nonatomic , assign) NSInteger             active_status;
//代理状态 -1:未申请 10:待审批 20:审批不通过 100:审批通过 110:已禁用 120:已到期
@property (nonatomic , assign) NSInteger             agent_status;
//归属地
@property (nonatomic , copy) NSString              * location;
//是否可以修改定位 0:可修改/未设置 1:不可修改
@property (nonatomic , assign) NSInteger             location_status;
//绿色能量
@property (nonatomic , copy) NSString              * integral;
//活跃度
@property (nonatomic , copy) NSString              * active_value;
//个人活跃度
@property (nonatomic , copy) NSString              * active_personal;
//购物值
@property (nonatomic , copy) NSString              * shopping_value;
//贡献值
@property (nonatomic , copy) NSString              * contribution_value;

@end

@interface ST_UserRCModel : NSObject<NSCoding>

/* 融云编号 */
@property (nonatomic, copy) NSString *uid;
/* 昵称 */
@property (nonatomic, copy) NSString *name;
/* 头像 */
@property (nonatomic, copy) NSString *portrait;
/* 令牌 */
@property (nonatomic, copy) NSString *token;

@end

NS_ASSUME_NONNULL_END
